package TeamService;

/**
 * @program: Demo2
 * @description:
 * @author: yan guang
 * @create: 2020-04-22 09:49
 */
public class Status {
    private final String NAME;
    public Status(String name) {
        this.NAME=name;
    }

    private final Status FREE=new Status("FREE");
    private final Status BUSY=new Status("BUSY");
    private final Status VOCATION=new Status("VOCATION");

    public String getNAME() {
        return NAME;
    }

    @Override
    public String toString() {
        return NAME;
    }
}
